<template>
  <router-view></router-view>
</template>

<script>
export default {
  name: 'App',
  created(){
    this.$store.dispatch('ToggleIsPhone')
  },
  mounted(){
    let that = this
    window.addEventListener('resize', function(){
      that.$store.dispatch('ToggleIsPhone')
    })
  },
  methods:{

  }
}
</script>

<style>
</style>
